package com.yanqu.road.entity.monopolymarket.resgrab;

import java.util.*;

/**
 * @Description
 * @Author cwq
 * @Data 2021/8/23 11:02
 */
public class MonopolyMarketResGrabPointInfo {

    public MonopolyMarketResGrabPointData baseInfo;

    /**
     * 派遣的对象
     */
    public Map<Integer,IMonopolyMarketObjectInfo> objectInfoMap = new HashMap<>(6);

    /**
     * 在房间里面玩家
     */
    public Set<Long> userSet = new HashSet<>();

    public MonopolyMarketResGrabPointInfo(MonopolyMarketResGrabPointData baseInfo) {
        this.baseInfo = baseInfo;
        for(IMonopolyMarketObjectInfo item : baseInfo.getObjectInfoList()){
            objectInfoMap.put(item.getObjectId(),item);
        }
    }

}
